import { HttpUrlVariable } from '@/constants'
import type { MedicalData, MedicalQuery } from '@/types/medical'
import RequestHttp from '@/utils/request'

export const getMedicalListAPI = (params: MedicalQuery) =>
  RequestHttp.get<MedicalData>(HttpUrlVariable.MEDICAL_LIST_URL, params)
